package com.cloudkinto.service.order.vo.yahoo;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class YahooUserInfo {
    private String sub;//相当于sellerId 需验证
    private String name;//矢風太郎
    private String given_name;
    private String family_name;
    private String gender;//male
    private String zoneinfo;//Asia/Tokyo
    private String locale;//ja-JP
    private String birthdate;//1986
    private String nickname;
    private String picture;//https://dummy.img.yahoo.co.jp/example.png
    private String email;
    private String emailVerified;
    private AddressDTO address;

    @NoArgsConstructor
    @Data
    public static class AddressDTO {
        private String country;
        private String postal_code;
        private String region;
        private String locality;
        private String formatted;
    }
}
